<?php
namespace app\servercoding\validate;
use \app\manage\validate\BaseValidate;

class Coding extends BaseValidate
{
    
	protected $rule =   [
        'app_id' => ['require','integer','gt'=>0],
        'count' => ['integer','gt'=>0],
        'type'=>['require','in'=>'goods,certificate,order,pick_up_goods'],
    ];

    protected $message  =   [
        'app_id' => '应用id为整数',
        'type' => 'goods 商品 certificate 证书 order 订单 pick_up_goods提货单'
    ];
    
}